<div class="box-content">
    <?php 
        $attributes = array('class' => 'email', 'id' => 'checknew');
        echo form_open($_module_name.'/group/dels', $attributes);
    ?>    
    <input type="hidden" name="page" value="<?php echo $page; ?>">
    <table class="admindata">
        <thead>
            <tr>
                <th colspan="6">
                    <? if($this->acl->check('dels')){ ?> 
                    <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?php echo lang('admin.deletes'); ?>">
                    <? } ?>
                    <?php echo lang('admin.total');?> <?php echo $num; ?> <?php echo lang('admin.records');?>
                </th>
            </tr>
            <tr>
                <th class="checkbox"><input type="checkbox" name="sa" id="sa" onclick="check_chose('sa', 'ar_id[]', 'checknew')" /></th>
                <th><?php echo lang('group.name');?></th>
                <th><?php echo lang('group.comment');?></th>
                <th class="publish"><?php echo lang('admin.functions'); ?></th>

            </tr>                
        </thead>
        <?
        $k=1;
        foreach($list as $rs):?>
        <tr class="row<?=$k?>">
            <td><input type="checkbox" name="ar_id[]" value="<?=$rs->group_id?>"></td>
            <td><?=$rs->group_name?></td>
            <td><?=$rs->group_comment?></td>
            <td align="center">
                <?php echo ($this->acl->check('view'))?icon_edit($_module_name.'/group/edit/'.$rs->group_id):''; ?>
                <?php echo ($this->acl->check('del'))?icon_del($_module_name.'/group/del/'.$rs->group_id):''; ?>
            </td>
        </tr>
        <?
        $k=1-$k;
        endforeach;?>
        <tfoot>
            <td colspan="6">
                <? if($this->acl->check('dels')){ ?> 
                <input type="submit" class="submit" onclick="return verify_del();" name="btn_submit" value="<?php echo lang('admin.deletes'); ?>">
                <? } ?> 
                <?php echo lang('admin.total');?> <?php echo $num; ?> <?php echo lang('admin.records');?>
            </td>
        </tfoot>
    </table>  
    <?=form_close()?>  
</div>